package com.ych.modules.common.service.impl;

import com.ych.modules.base.dbEntity.TUserAccountEntity;
import com.ych.modules.base.service.ITUserAccountService;
import com.ych.modules.common.service.UserAccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created with IntelliJ IDEA.
 * Author: Usopp.tsui
 * Date: 2020/12/31
 * Time: 15:10
 * Description:
 */
@Service("UserAccountService")
public class UserAccountServiceImpl implements UserAccountService {
    @Autowired
    private ITUserAccountService itUserAccountService;

    @Override
    public TUserAccountEntity getAccountInfo(String userId) {
        return itUserAccountService.selectById(userId);
    }
}
